﻿using System;
using System.Collections.Generic;

namespace ZKDevice
{
    public interface ZKDeviceAPI
    {
        bool IsConnected();

        void DisConnect();

        bool Connect(string ip, int port);

        bool ExistUserInfo(int identifier);

        bool ValidUserInfo(int identifier, int fingerSize);

        bool DownloadUserInfo(UserInfo userInfo);

        bool DeleteUserInfo(int identifier);

        List<AttendanceLog> ReadAttendanceLog();
    }
}
